package org.example;

public class h3 {
    public static void main(String[] args) {
    int w=0;
        for(int i=1;i<=10;){
            for(int j=1;j<=i; j++) {
                int s = i * j;
              w=w+s;
                   }

            i++;}
        System.out.println(w);

    }
}
